package com.zhixiang.xaec.entity.safebase.safecultruetrain;


import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.cfg.Comment;

import com.googlecode.jsonplugin.annotations.JSON;
import com.zhixiang.xaec.entity.BaseEntity;

@Entity
@Table(name="safebase_TrainPlain")
@Comment("培训计划")
public class TrainPlan extends BaseEntity{
    
    @Comment("计划编号")
    private String trainPlanNo;//计划编号
    @Comment("培训名称")
    private String trainPlanName;//培训名称
    @Comment("培训内容")
    private String trainPlanContent;//培训内容
    @Comment("培训分类")
    private String trainClassification;//培训分类
    @Comment("计划开始时间") 
    private Date  trainStartTime;//计划开始时间
    @Comment("计划结束时间")
    private Date trainEndTime;//计划结束时间
         
    
    public String getTrainPlanNo() {
        return trainPlanNo;
    }
    public void setTrainPlanNo(String trainPlanNo) {
        this.trainPlanNo = trainPlanNo;
    }
    
    public String getTrainPlanName() {
        return trainPlanName;
    }
    public void setTrainPlanName(String trainPlanName) {
        this.trainPlanName = trainPlanName;
    }
    @Column(length=2000)
    public String getTrainPlanContent() {
        return trainPlanContent;
    }
    public void setTrainPlanContent(String trainPlanContent) {
        this.trainPlanContent = trainPlanContent;
    }
  
    public String getTrainClassification() {
        return trainClassification;
    }
    public void setTrainClassification(String trainClassification) {
        this.trainClassification = trainClassification;
    }
    
    @JSON(format="yyyy-MM-dd")
    public Date getTrainStartTime() {
        return trainStartTime;
    }
    public void setTrainStartTime(Date trainStartTime) {
        this.trainStartTime = trainStartTime;
    }
    
    @JSON(format="yyyy-MM-dd")
    public Date getTrainEndTime() {
        return trainEndTime;
    }
    public void setTrainEndTime(Date trainEndTime) {
        this.trainEndTime = trainEndTime;
    }
    
}
